package com.rui.common.util;

import java.io.Serializable;

/**
 * 常量
 *
 * @author xr
 * @email xr@qq.com
 * @date 2020-01-01 00:00:00
 */
public class SysConst implements Serializable {
    /**
     * TOKEN
     */
    public static final String TOKEN = "rui-token";
    /**
     * Redis默认过期时长(秒)
     */
    public static final long REDIS_DEFAULT_EXPIRE = 60 * 60 * 24;
    /**
     * Redis不设置过期时长
     */
    public static final long REDIS_NOT_EXPIRE = -1;
    /**
     * 分页页数pageNum
     */
    public static final String PAGE_NUM = "pageNum";
    /**
     * 分页长度pageSize
     */
    public static final String PAGE_SIZE = "pageSize";

    public static final int ZERO = 0;
}
